package com.example.demo.mapper;

import com.example.demo.entity.Users;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UsersMapper {

    public Users getByUsername(String username);

    public Users getByStudentIdOrName(int studentId,String username);

    public void insertUser(Users users);

    public Users getClassByUsername(String username);

    public Users getIdByUsername(String username);

    public Users getIdByPhoneNumber(String phoneNumber);

    String getUsernameByPhoneNumber(String phoneNumber);
}
